package demo3;

/**
 * Author：毕龙
 * Date: 2024/5/12 11:04
 */
public class Student1 {
    private String name;
    private Integer age;
    private Double score;

    public Student1() {
    }

    public Student1(String name, Integer age, Double score) {
        this.name = name;
        this.age = age;
        this.score = score;
    }

    public Student1(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Student1{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", score=" + score +
                '}';
    }
}
